import { request } from "@/utils/request"

export const selectPageList = params => {
  return request.get('/order/selectPageList', { params })
}

export const selectById = params => {
  return request.get('/order/selectById', { params })
}

export const changeRider = (params) => {
  console.log(params);
  return request.post('/order/changeRider', params)
}

export const add = params => {
  return request.post('/order/add', params)
}

export const update = params => {
  return request.post('/order/update', params)
}

export const remove = params => {
  return request.post('/order/remove', params)
}

export const done = params => {
  return request.post('/order/done', params)
}

export const cancel = params => {
  return request.post('/order/cancel', params)
}


